package com.button.boot.listener.app.init;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@WebListener
public class AppWebListener implements ServletContextListener{
    private static final Logger LOGGER = LoggerFactory.getLogger(AppWebListener.class);
    
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        LOGGER.info("....初始化....");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        LOGGER.info("....销毁....");
    }

}
